package com.ridu.project.beshid.repository;

import com.ridu.project.beshid.entity.CodeLogEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 *  CODE
 * @author 随便 2020-05-17
 */
@Repository
public interface CodeLogRepository extends JpaRepository<CodeLogEntity,Long>,JpaSpecificationExecutor<CodeLogEntity> {

    List<CodeLogEntity> findByUserId(Long id);
}
